import Home from '../pages/home'
import About from '../pages/about2'
import Profile from '../pages/profile'
import ProfileSearch from '../pages/profile-search'
import Login from '../pages/login'


import Development from '../pages/development'
import Cultures from '../pages/cultures'
import Contact from '../pages/contact'
import Join from '../pages/join'
const routes = [
  {
    path: '',
    element: <Home />,
    exact: true
  },
  {
    path: 'about',
    element: <About />,
    children: [
      {
        path: '',
        element: <Development />,
      },
      {
        path: 'cultures',
        element: <Cultures />,
      },
      {
        path: 'contact',
        element: <Contact />,
      },
      {
        path: 'join',
        element: <Join />,
      },
    ]
  },
  {
    path: 'user/:id',
    element: <Profile />,
  },
  {
    path: 'profile',
    element: <ProfileSearch />,
  },
  {
    path: 'login',
    element: <Login />,
  },
]

export default routes